export default {
  namespaced: true,
  state: {
    count: 0
  },
  mutations: {
    addFn (state, payload) {
      state.count += payload
    }
  },
  actions: {
    addFnAction (store, payload) {
      setTimeout(() => {
        store.commit('addFn', payload)
      }, 2000)
    }
  },
  getters: {}
}
